﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Mafserver.Master" Inherits="System.Web.Mvc.ViewPage" %>
<%@ Import Namespace="Heritage" %>
<%@ Import Namespace="Heritage.Codebox" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<%
    SocialMessages msg = ViewData.Model as SocialMessages;%>
    <div class="mainname" style="margin-bottom:10px;">
    <div style="float:left;padding-top:12px;"><span class="FreeSetBold" style="padding-left: 30px; padding-bottom: 0px; margin-top:0px; color:#0E1A21;font-size:20px;">Личные сообщения</span></div>
    </div>
    <div class="lowercontent" style="color:#6B562D; font-size:12px;">
    <table width="100%">
    <tr><td width="64px">
    <img src="<%=Utils.GetSocialIcon(Constants.SOCIALMESSAGE_TYPE_PRIVATE) %>" />
    </td>
    <td style="padding-left:24px;padding-bottom:6px;width=100%;">
    <span style="font-size:large; font-weight:bold">
    Новое сообщение<br />
    </span>
    </td>
    </tr>
    <tr>
    <td></td>
    <td style="padding-top:24px;padding-left:24px;">
    <form name="replyform" method="post" action="/Social/WriteMessage/">
    <span style="font=size:xx-small; font-weight:bold">Адресат:</span><br />
    <%=Utils.HTML_ChooseSocialMessageAdresseeBox("adressee") %><br /><br />
    <span style="font=size:xx-small; font-weight:bold">Тема:</span><br />
    <input type="text" name="subject" style="width:450px;" /><br /><br />
    <span style="font=size:xx-small; font-weight:bold">Текст сообщения:</span><br />
    <textarea name="message" style="width:450px; height:140px;"></textarea>
    <br /><br /><a href="#" class="awesome" onclick="document.replyform.submit();return false;">Отправить</a>
    </form>
    </td>
    </tr>
    </table>
    </div>

</asp:Content>
